package com.cxg.allsys.expertsys.controller;

import com.cxg.allsys.expertsys.pojo.TExpert;
import com.cxg.allsys.expertsys.service.IExpertsysService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RequestMapping
@RestController
@Slf4j
public class HuoquConfig {

    @Autowired
    private IExpertsysService iExpertsysSevice;

    //根据ID查询信息
    @RequestMapping("/Administration")
    public TExpert administration(Integer expertid){
       return iExpertsysSevice.expertsysID(expertid);
    }


}
